package com.yiruantong.system.domain.permission;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 角色和菜单关联 sys_role_menu
 *
 * @author YiRuanTong
 */

@Data
@TableName(value = "sys_role_menu", autoResultMap = true)
public class SysRoleMenu {

  /**
   * 角色ID
   */
  @TableId(type = IdType.INPUT)
  private Long roleId;

  /**
   * 菜单ID
   */
  private Long menuId;

}
